home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _0BC1A14391CE4BCFAB52F2A6BB877187 < prev    next >
Encoding:
Text File  |  2000-03-27  |  1.1 KB  |  46 lines

  1. // template file for common directory
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/common"
  6.  
  7. parameter entity pusher
  8. parameter entity pushed
  9. parameter vector movedist
  10.  
  11. local int sig1
  12. local int pusherhealth
  13.  
  14. pusherhealth = pusher.health
  15.  
  16. if pusherhealth > 0
  17.     animate entity pusher performing action STD_EPUSHCRATE_N_A_N by moving movedist signaling sig1
  18.     move entity pushed by movedist
  19.     wait for all clearing sig1
  20. endif
  21.  
  22. pusherhealth = pusher.health
  23.  
  24. if pusherhealth > 0
  25.     animate entity pusher performing action STD_EPUSHCRATE_N_A_N by moving movedist signaling sig1
  26.     move entity pushed by movedist
  27.     wait for all clearing sig1
  28. endif
  29.  
  30. pusherhealth = pusher.health
  31.  
  32. if pusherhealth > 0
  33.     animate entity pusher performing action STD_EPUSHCRATE_N_A_N by moving movedist signaling sig1
  34.     move entity pushed by movedist
  35.     wait for all clearing sig1
  36. endif
  37.  
  38. pusherhealth = pusher.health
  39.  
  40. if pusherhealth > 0
  41.     animate entity pusher performing action STD_EPUSHCRATE_N_A_N by moving movedist signaling sig1
  42.     move entity pushed by movedist
  43.     wait for all clearing sig1
  44. endif
  45.  
  46.